export default function ({ store , redirect}){
  if(store.state.user){
    return redirect("/")
  }
}